import type { RouteRecordRaw } from "vue-router";
export const homeRoute: RouteRecordRaw[] = [
  {
    path: "/",
    name: "HomeRoute",
    redirect: "/home",
    component: () => import("@/views/home/homeRouterView.vue"),
    meta: {
      title: "首页",
      requiresAuth: false,
    },
    children: [
      {
        path: "/home",
        name: "Home",
        component: () => import("@/views/home/index.vue"),
        meta: {
          title: "首页",
        },
      },
      {
        path: "/employmentJob",
        name: "EmploymentJob",
        component: () => import("@/views/employmentJob/index.vue"),
        meta: {
          title: "就业岗位",
        },
      },
      {
        path: "/careerGuidance",
        name: "CareerGuidance",
        component: () => import("@/views/careerGuidance/index.vue"),
        meta: {
          title: "职业指导",
        },
      },
      {
        path: "/employmentPolicy",
        name: "EmploymentPolicy",
        component: () => import("@/views/employmentPolicy/index.vue"),
        meta: {
          title: "就业政策",
        },
      },
      {
        path: "/jobFair",
        name: "JobFair",
        component: () => import("@/views/jobFair/index.vue"),
        meta: {
          title: "招聘会",
        },
      },
    ],
  },
];
